<?php


namespace app\dmoe\controller;


class jiec
{
    public function test()
    {
        $N  = input('get.N');

        $result = 1;

        for ($i = 1; $i <= $N; $i++) {

            $result *= $i;
        }
        echo $N.'的阶乘为：'.$result;
    }
}